package com.zareal.service;

import com.baomidou.mybatisplus.service.IService;
import com.zareal.domain.Emp;
import com.zareal.dot.GetProductDto;
import com.zareal.dot.PutApplicationDto;
import com.zareal.result.JSONResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Wilson
 * @since 2022-09-28
 */
public interface IEmpService extends IService<Emp> {

    JSONResult getProduct(Long id);

    JSONResult getAllProduct();

    JSONResult putStorage(GetProductDto getProductDto);

    JSONResult outStorage(GetProductDto getProductDto);

    JSONResult outOfStock();

    JSONResult putApplication(PutApplicationDto putApplicationDto);

    JSONResult passApplication(Long id);

    JSONResult failApplication(Long id);
}
